export function filterMap(value: string | null, map: Map<string, string>) {
  if (!value) return '';
  if (map.has(value)) {
    return map.get(value) as string;
  }
  return value;
}
